package com.example.model.check_in;

import com.example.model.BaseEntity;
import com.example.model.payment.Payment;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName deposit
 */
public class Deposit extends BaseEntity {
    /**
     * 
     */
    private Long depositId;

    /**
     * 
     */
    private Long paymentId;
    private Payment payment;

    /**
     * 
     */
    private BigDecimal depositAmount;

    /**
     * 0为为退款，1为已退款
     */
    private Integer isRefund;

    public Deposit() {
    }

    public Deposit(Long depositId) {
        this.depositId = depositId;
    }

    /**
     * 
     */
    public Long getDepositId() {
        return depositId;
    }

    /**
     * 
     */
    public void setDepositId(Long depositId) {
        this.depositId = depositId;
    }

    /**
     * 
     */
    public Long getPaymentId() {
        return paymentId;
    }

    /**
     * 
     */
    public void setPaymentId(Long paymentId) {
        this.paymentId = paymentId;
    }

    /**
     * 
     */
    public BigDecimal getDepositAmount() {
        return depositAmount;
    }

    /**
     * 
     */
    public void setDepositAmount(BigDecimal depositAmount) {
        this.depositAmount = depositAmount;
    }

    /**
     * 0为为退款，1为已退款
     */
    public Integer getIsRefund() {
        return isRefund;
    }

    /**
     * 0为为退款，1为已退款
     */
    public void setIsRefund(Integer isRefund) {
        this.isRefund = isRefund;
    }

    public Payment getPayment() {
        return payment;
    }

    public void setPayment(Payment payment) {
        this.payment = payment;
    }
}